<h2>The form was is valid</h2>

<% if !@sender.valid? %>
	<h3>Sender Invalid</h3>
	<ul class="errors">
		<% @sender.errors.each do |field, msg|  %>			
		<li><%= msg %></li>
		<% end %>
	</ul>
<% end %>

<% if @all_friends_empty %>
	<ul class="errors">
	<li>Supply at least on friend</li>
	</ul>
<% elsif @invalid_recipients %>	
	<ul class="errors">
		<% for r in @invalid_recipients %>
			<% r.errors.each do |field, msg|  %>			
			<li><%= msg %></li>
			<% end %>
		<% end %>
	</ul>
<% end %>